import { createApp } from 'vue'
import App from '@/App.vue'

import router from '@/router/index.js'
import '@/router/permission.js' // 路由权限控制
import '@/plugins/index.js'
import 'virtual:svg-icons-register'
import '@/assets/styles/index.scss'
import { pinia } from '@/store/index.js'

const app = createApp(App)
app.use(router)
app.use(pinia)


app.mount('#app')
